/**
 * This program is free software but WITHOUT ANY WARRANTY OR CONDITIONS OF ANY KIND.
 *
 * Copyright (C) 2008-2013 www.pretty-tools.com
 */

var WEBSLIDESHOW_UPDATE_RULES_EVENT = "webslideshow-update-rules";

/**
 * Web Page Profile
 */
function wsshWebDomainProfile(domain, pages)
{
    this.domain = domain;
    this.pages = !!pages ? pages : (domain ? new Array() : null);
    this.signature = null;
    this.checksum = null;
    this.hidden = false;
}

/**
 * Web Page Profile
 */
function wsshWebPageProfile()
{
    this.tagToUrl = {
        "IMG"  : "src",
        "A"    : "href",
        "AREA" : "href"
    };
    this.pattern = null;
    this.patternAsString = null;
    this.supported = true;
    this.disabled = false;
    this.browser = null;
    this.elementTag = null;
    this.elementTemplate = null;
    this.elementPattern = null;
    this.elementPatternAsString = null;

}
